//
//  ItemIntroductionCell.m
//  Kjs-iOS
//
//  Created by cfq on 16/6/2.
//  Copyright © 2016年 jmhz. All rights reserved.
//
#define OffsetHeight 50;

#import "ItemIntroductionCell.h"

@interface ItemIntroductionCell()<UIWebViewDelegate>
@property (nonatomic,strong) IBOutlet UIScrollView *scrollView;
@end

@implementation ItemIntroductionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self sendSubviewToBack:self.contentView];
    self.introductionWebView  = [[UIWebView alloc] init];
    self.scrollView.showsHorizontalScrollIndicator = FALSE;
    self.scrollView.showsVerticalScrollIndicator = FALSE;
    [self.scrollView setBackgroundColor:[UIColor whiteColor]];
    self.scrollView.bounces = NO;
    [self.scrollView addSubview:self.introductionWebView];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}
- (void)setContext:(NSString *)HTMLData
{
    [self.introductionWebView loadHTMLString:HTMLData baseURL:nil];
}

-(void)test
{
    NSLog(@" ceshiu cdjsfksjf");
}
@end
